home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
-
- Copyright 1991,1992 Lee Iverson
-
- Author:
- Lee Iverson <leei@mcrcim.mcgill.edu>,
- McGill Research Centre for Intelligent Machines (McRCIM)
-
- See <McImage/copyright.h> for complete copyright information.
-
- $Id: p_random.h,v 1.2 92/01/23 17:33:57 leei Exp $
-
- ******************************************************************************/
-
- #ifndef _p_random_h_
- #define _p_random_h_
-
- #include "proto.h"
-
- #if defined(_MPL) || !DPU
- void p_random_init __((int seed));
-
- plural double p_frandom __(());
- plural double p_uniform_random __(( plural double lo, plural double hi ));
- plural double p_normal_random __(( plural double stdev ));
- #define p_gaussian_random p_normal_random
-
- plural float fp_frandom __(());
- plural float fp_uniform_random __(( plural float lo, plural float hi ));
- plural float fp_normal_random __(( plural float stdev ));
- #define fp_gaussian_random fp_normal_random
-
- #endif _MPL
-
- #endif /* _p_random_h_ */
-